package com.ruoyi.project.men.service.impl;

import com.ruoyi.project.men.dao.MenRelatedCaseDao;
import com.ruoyi.project.men.domain.MenRelatedCaseDO;
import com.ruoyi.project.men.service.MenRelatedCaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MenRelatedCaseServiceImpl implements MenRelatedCaseService {
	@Autowired
	private MenRelatedCaseDao menRelatedCaseDao;
	
	@Override
	public MenRelatedCaseDO get(String id){
		return menRelatedCaseDao.get(id);
	}
	
	@Override
	public List<MenRelatedCaseDO> list(Map<String, Object> map){
		return menRelatedCaseDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return menRelatedCaseDao.count(map);
	}
	
	@Override
	public int save(MenRelatedCaseDO menRelatedCase){
		return menRelatedCaseDao.save(menRelatedCase);
	}
	
	@Override
	public int update(MenRelatedCaseDO menRelatedCase){
		return menRelatedCaseDao.update(menRelatedCase);
	}
	
	@Override
	public int remove(String id){
		return menRelatedCaseDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return menRelatedCaseDao.batchRemove(ids);
	}

    @Override
    public List<MenRelatedCaseDO> likeList(Map<String, Object> map){
        return menRelatedCaseDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return menRelatedCaseDao.likeListCount(map);
    }
	
}
